package com.ctshk.rpc.order.goods.req.conmodity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *     退款信息列表 入参
 * </p>
 * @author 黄先
 */
@Data
@ApiModel(value = "退款信息列表", description = "退款信息列表")
public class OrderCommodityRefundCancelReq implements Serializable {
    @NotNull(message = "退款账号不能为空")
    @ApiModelProperty(value = "退款账号", required = true)
    private String refundAccount;

    @NotNull(message = "退款金额不能为空")
    @ApiModelProperty(value = "退款金额", required = true)
    private BigDecimal refundAmount;

    @NotNull(message = "退款方式不能为空")
    @ApiModelProperty(value = "退款方式", required = true)
    private String refundWay;

    @NotNull(message = "退款方式ID不能为空")
    @ApiModelProperty(value = "退款方式ID", required = true)
    private Long refundWayId;

    @NotNull(message = "币种ID不能为空")
    @ApiModelProperty(value = "币种ID", required = true)
    private Long currencyId;

    @NotNull(message = "兑换率不能为空")
    @ApiModelProperty(value = "兑换率", required = true)
    private Double exchangeRate;
}
